﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mpMaster.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Src="~/uc/footer.ascx" TagPrefix="uc1" TagName="footer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <div class="jumbotronShadow" style="height: 120px; background-color: white; -moz-box-shadow: 1px 7px 5px #000000; -webkit-box-shadow: 1px 7px 5px #000000; box-shadow: 1px 7px 5px #000000;">
        <div class="container">
            <h2 style="margin-bottom: 10px">Nyheder</h2>
        </div>
    </div>

    <div class="container" style="background-color: white; max-width: 1162px; margin-top: 7px; -moz-border-radius-bottomright: 10px; -webkit-border-bottom-right-radius: 10px; border-bottom-right-radius: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;">
        <h2>Favorit film</h2>
        <div class="row">
            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <div class="container" style="max-width: 370px; width: 100%; float: left; margin-top: 10px;">
                        <div class="row">
                            <div class="col-md-12">
                                <img src="<%# Eval("picture") %>" style="height: 580px; width: 390px;" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-12">
                                <b>
                                    <h4 style="text-align: center;"><%#Eval("name")%></h4>
                                </b>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-12" style="padding-left: 87px;">
                                <a class="btn btn-warning" style="width: 100px;" href="ShowMovie.aspx?id=<%# Eval("id") %>" role="button">Mere info</a>
                                <a class="btn btn-danger" style="width: 100px;" href="bookingPage.aspx?id=<%# Eval("id") %>" role="button">Book Billet</a>
                            </div>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <uc1:footer runat="server" ID="footer" />
    </div>
</asp:Content>
